package Test1;

import java.util.Scanner;

/**
 * @Author admin
 * @Date 2019/3/15 8:08
 */
public class Test {
    public static void main(String[] args) {
        Guess gu=new Guess();
        String result="";
        gu.made();
       do {
           System.out.println("请输入猜测的数字");
           Scanner sc=new Scanner(System.in);
           int shuru=sc.nextInt();
           result=gu.judge(shuru);
           System.out.println(result);
       }while (!result.equals("bingo"));
       {
           System.out.println("共猜测了"+gu.getCs()+"次");
           System.out.println("game over");
        }




    }
}
